#pragma once
#include <glm/gtx/quaternion.hpp>
#include <vector>

namespace DYGraphics
{
	struct _declspec(dllexport) AnimationQuatKey
	{
		float mTime;
		glm::quat value;
	};

	class _declspec(dllexport) AnimationQuatCurve
	{
	public:
		AnimationQuatCurve() { }
		void AddKey(float pTime, glm::quat pValue);
		glm::quat Evaluate(float mTime);
	private:
		std::vector<AnimationQuatKey> mKeys;
	};
}